/**
 * @author zunqiang.Yi
 * @time 2023-10-21 10:35 AM
 * @description 运行主文件
 * */ 
import { createApp } from 'vue'
import { pinia } from './store'
import App from './pages/index.vue'
/** 引入主样式 */
import './style/index.less' 
import 'vant/lib/index.css'
import router from './router/index'
// import '../public/iconFont/iconfont.css'

/**引入组件vant */
import {Button,
    Field,
    Form,
    Cell, 
    Circle,
    CellGroup,
    RadioGroup,
    Radio,
    NavBar,
    Checkbox,
    Search,
    Swipe,
    SwipeItem,
    Loading,
    Tab,
    Tabs,
    AddressList,
    BackTop,
    FloatingBubble,
    ConfigProvider,
    Popup,
    Uploader,
    Sticky,
    AddressEdit
} from 'vant';

import myPlugin from './components/index'
    
createApp(App)
    .use(router)
    .use(pinia)
    .use(myPlugin)
    .use(Circle)
    .use(Button)
    .use(Field)
    .use(Form)
    .use(RadioGroup)
    .use(CellGroup)
    .use(NavBar)
    .use(Radio)
    .use(Cell)
    .use(Checkbox)
    .use(Search)
    .use(Swipe)
    .use(SwipeItem)
    .use(NavBar)
    .use(Loading)
    .use(Tab)
    .use(Tabs)
    .use(AddressList)
    .use(BackTop)
    .use(FloatingBubble)
    .use(ConfigProvider)
    .use(Popup)
    .use(AddressEdit)
    .use(Uploader)
    .use(Sticky)
    .mount('#app')


